package com.jh3502.vivo.view.treeview;

import com.jh3502.vivo.R;


public class BranchNode<T> implements LayoutItem {

    private T bean;

    public BranchNode(T bean) {
        this.bean = bean;
    }

    public T getBean() {
        return bean;
    }

    public void setBean(T bean) {
        this.bean = bean;
    }

    @Override
    public int getLayoutId() {
        return R.layout.item_branch;
    }

    @Override
    public int getToggleId() {
        return 0;
    }

    @Override
    public int getCheckedId() {
        return R.id.branch_check;
    }

    @Override
    public int getClickId() {
        return R.id.branch_parent;
    }
}
